package com._54programer.ioc.config.config.values;

import com._54programer.ioc.config.beans.values.Person;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

@Configuration
@PropertySource(value = {"classpath:/person.properties"})
public class BeanConfig1 {


    @Bean
    public Person person(){
        return new Person();
    }


}
